<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:if="${error}" th:text="${error}"></div>
<form action="/userlogin" method="post">
    账号：<input type="text" name="username"></input>
    密码：<input type="password" name="password"></input>
    <input type="submit" value="登录"></input>
</form>
</body>
</html>